﻿namespace Yom.Model
{
    /// <summary>
    /// 分类实体对象
    /// </summary>
    public class Category
    {
        #region 私有成员定义
        private int _CategoryID;
        private string _CategoryName;
        private string _SaveName;
        private string _SeoKey;
        private string _SeoDes;
        #endregion

        #region 成员属性暴露
        /// <summary>
        /// 分类编号
        /// </summary>
        public int CategoryID { get { return this._CategoryID; } set { this._CategoryID = value; } }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string CategoryName { get { return this._CategoryName; } set { this._CategoryName = value; } }

        /// <summary>
        /// 分类保存目录名
        /// </summary>
        public string SaveName { get { return this._SaveName; } set { this._SaveName = value; } }

        /// <summary>
        /// Meta关键字
        /// </summary>
        public string SeoKey { get { return this._SeoKey; } set { this._SeoKey = value; } }

        /// <summary>
        /// Meta描述
        /// </summary>
        public string SeoDes { get { return this._SeoDes; } set { this._SeoDes = value; } }
        #endregion

        #region 构造函数
        public Category() { }

        public Category(int categoryID, string categoryName, string saveName, string seoKey, string seoDes)
        {
            this._CategoryID = categoryID;
            this._CategoryName = categoryName;
            this._SaveName = saveName;
            this._SeoKey = seoKey;
            this._SeoDes = seoDes;
        }
        #endregion
    }
}